package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.CheckOverListOriginal;

/**
 * 对象功能:  加班子表activity
 * 开发公司: 北京信普达系统工程有限公司
 * 开发人员: HuXiaoDan
 * 创建时间: 2017/2/7 15:10
 */
public class CheckOverActivity extends SingleFragmentActivity {
  @Override protected Fragment createFragment() {
    CheckOverListOriginal.CheckOverListContent content =
        (CheckOverListOriginal.CheckOverListContent) getIntent().getSerializableExtra(
            CheckOverNewFragment.EXTRA_CONTENT);
    String dataStatus = getIntent().getStringExtra(CheckOverNewFragment.EXTRA_STATUS);
    String pid = getIntent().getStringExtra(CheckOverNewFragment.EXTRA_PID);
    //String overtimeType=  getIntent().getStringExtra(CheckOverNewFragment.EXTRA_OVERTIMETYPE);
    return CheckOverNewFragment.newInstance(content, dataStatus, pid);
  }
}
